﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin_cms/admin_master.master"
    AutoEventWireup="true" CodeFile="admin_logo.aspx.cs" Inherits="admin_cms_default"
    EnableEventValidation="true" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="all_khung_form1">
        <div class="top_khung_form1">
            <h5>
                Quản lý Logo</h5>
        </div>
        <div class="khung_form1">
            <h3>
                Chọn Logo:
            </h3>
            <asp:FileUpload ID="Fileuplogo" runat="server" />
        </div>
        <div class="khung_form1">
            <asp:Button ID="Button1" runat="server" Text="Thêm mới" OnClick="Logo_Insert" /><asp:Button
                ID="Button2" runat="server" Text="Update" OnClick="Logo_update" />
        </div>
    </div>
    <div class="all_khung_form3">
        <div class="griv_content">
            <asp:GridView ID="GridView1" runat="server" CssClass="mGrid" PagerStyle-CssClass="pgr"
                Font-Size="12px" AutoGenerateColumns="false" AlternatingRowStyle-BackColor="#DFE2E4"
                OnRowCommand="grv_yahoo_click">
                <Columns>
                    <asp:BoundField HeaderText=" Mã Footer" DataField="Id" />
                    <asp:ImageField HeaderImageUrl="../files_upload/images/" DataImageUrlField="Image" HeaderText="Logo">
                    </asp:ImageField>
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Xóa">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Acces Denied Sign.png"
                                CssClass="grivimg" ID="imgxoa" OnClick="bt_delete_yahoo" CommandArgument='<%#Eval("Id") %> '
                                CommandName="X" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <Columns>
                    <asp:TemplateField HeaderText="Sửa">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ImageUrl="~/admin_cms/style/images/icons/small/grey/Create Write.png"
                                ID="imgsua" CommandArgument='<%#Eval("Id") %> ' CommandName="S" />
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
        </div>
    </div>
</asp:Content>
